lib: Define and use an autoptr cleanup for gpgme_key_t
authorColin Walters <walters@verbum.org>
Mon, 31 Jul 2017 15:31:13 +0000 (11:31 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 3 Aug 2017 15:01:57 +0000 (15:01 +0000)
commitd3897e52e7afb123de0eff6d83a318969286e4fb
treecfc049ec2e61053624f3a4764b4fc352cb30a217
parentb929b620aebbc241caa965472f4fe351223b7a35
lib: Define and use an autoptr cleanup for gpgme_key_t

Followup for previous patch, allows porting a bit to new code style.

Closes: #1039
Approved by: jlebon
src/libostree/ostree-gpg-verify-result.c
src/libotutil/ot-gpg-utils.h